Search results for "dist:JSPL perl hash"
JSPL - A bridge between JavaScript and Perl languages
For use JavaScript from Perl with this module, you normally follow three simple steps: * Create a context inside which you'll be able to evaluate javascript code. The context holds a *global object* with javascript's standard constructors and functio...
SORTIZ/JSPL-1.07 - 17 Jan 2012 00:51:18 UTC
JSPL::PerlClass - Create native JavaScript classes in Perl
SORTIZ/JSPL-1.07
-
17 Jan 2012 00:51:18 UTC
JSPL::Object - Reference to a JavaScript Object
Besides primitives everything else in JavaScript is an object. This class (or one of its subclasses) encapsulate a *reference* to them. $adate = $ctx->eval(' new Date() '); print ref $adate; # 'JSPL::Object' print $adate->toString; # Today date...
SORTIZ/JSPL-1.07 - 17 Jan 2012 00:51:18 UTC
JSPL::Context - An object in which we can execute JavaScript
To interact with the SpiderMonkey JavaScript engine you need a JSPL::Context instance. To create one you can use the method "create_context" in JSPL::Runtime or obtain the "stock" one with "stock_context" in JSPL....
SORTIZ/JSPL-1.07 - 17 Jan 2012 00:51:18 UTC